package demo1_i;

public class Test {
    public static void main1(String[] args) {
        /*Dog dog = new Dog("大黄", 3);
        //dog.name = "大黄";
        dog.eat();
        dog.bark();
        Cat cat = new Cat("小猫", 2);
        //cat.name = "小猫";
        cat.eat();
        cat.bark();*/
    }

    public static void main(String[] args) {
        Dog dog = new Dog("大黄", 3);
        System.out.println("======");
        Dog dog2 = new Dog("小黄", 2);
    }
}
